import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as filters from './assets/js/filters'
import * as http from '@/assets/js/http'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false
Vue.prototype.$http = http
Vue.use(ElementUI)
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]))

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
